import './index.scss'
import { LeftOutline } from 'antd-mobile-icons'
import { useNavigate } from 'react-router-dom'

function Caidan() {
    const navigate = useNavigate()
  return (
    <div className='caidan'>
        <div className='caidan-top'>
            <span><LeftOutline className='caidan-top-left' onClick={() => navigate(-1)} /></span>
            <span className='caidan-top-title'>菜单中心</span>
        </div>
        <div className='caidan-bg'>
            <span className='caidan-bg-title'><b>最近常用</b> </span>
        </div>
    </div>
  )
}

export default Caidan